package com.yhs.YShop.moudle.order.model;

import java.io.Serializable;

import org.elasticsearch.search.DocValueFormat.Decimal;
/**
 * 支付单表
 * @author hand
 *
 */
public class BillPayMents implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -921693399309485858L;

	
	private String paymentId;//支付单号
	private Decimal money;//支付金额
	private Integer userId;//用户ID 关联user.id
	private Integer type;//资源类型1=订单,2充值单
	private Integer status;//支付状态 1=未支付 2=支付成功 3=其他
	private String paymentCode;//支付类型编码 关联payments.code
	private String ip;//支付单生成IP
	private String params;//支付的时候需要的参数，存的是json格式的一维数组
	private String payedMsg;//支付回调后的状态描述
	private String tradeNo;//第三方平台交易流水号
	private Integer ctime;//创建时间
	private Integer utime;//更新时间
	public String getPaymentId() {
		return paymentId;
	}
	public void setPaymentId(String paymentId) {
		this.paymentId = paymentId;
	}
	public Decimal getMoney() {
		return money;
	}
	public void setMoney(Decimal money) {
		this.money = money;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getPaymentCode() {
		return paymentCode;
	}
	public void setPaymentCode(String paymentCode) {
		this.paymentCode = paymentCode;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	public String getPayedMsg() {
		return payedMsg;
	}
	public void setPayedMsg(String payedMsg) {
		this.payedMsg = payedMsg;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public Integer getCtime() {
		return ctime;
	}
	public void setCtime(Integer ctime) {
		this.ctime = ctime;
	}
	public Integer getUtime() {
		return utime;
	}
	public void setUtime(Integer utime) {
		this.utime = utime;
	}
	
	
	
	
}
